package com.vivo.customer.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class RoomInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public RoomInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("Id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("Id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("Id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("Id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("Id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("Id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("Id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("Id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("Id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("Id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("Id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("Id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("Id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("Id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andFkBuildingUnitIsNull() {
            addCriterion("FK_Building_Unit is null");
            return (Criteria) this;
        }

        public Criteria andFkBuildingUnitIsNotNull() {
            addCriterion("FK_Building_Unit is not null");
            return (Criteria) this;
        }

        public Criteria andFkBuildingUnitEqualTo(String value) {
            addCriterion("FK_Building_Unit =", value, "fkBuildingUnit");
            return (Criteria) this;
        }

        public Criteria andFkBuildingUnitNotEqualTo(String value) {
            addCriterion("FK_Building_Unit <>", value, "fkBuildingUnit");
            return (Criteria) this;
        }

        public Criteria andFkBuildingUnitGreaterThan(String value) {
            addCriterion("FK_Building_Unit >", value, "fkBuildingUnit");
            return (Criteria) this;
        }

        public Criteria andFkBuildingUnitGreaterThanOrEqualTo(String value) {
            addCriterion("FK_Building_Unit >=", value, "fkBuildingUnit");
            return (Criteria) this;
        }

        public Criteria andFkBuildingUnitLessThan(String value) {
            addCriterion("FK_Building_Unit <", value, "fkBuildingUnit");
            return (Criteria) this;
        }

        public Criteria andFkBuildingUnitLessThanOrEqualTo(String value) {
            addCriterion("FK_Building_Unit <=", value, "fkBuildingUnit");
            return (Criteria) this;
        }

        public Criteria andFkBuildingUnitLike(String value) {
            addCriterion("FK_Building_Unit like", value, "fkBuildingUnit");
            return (Criteria) this;
        }

        public Criteria andFkBuildingUnitNotLike(String value) {
            addCriterion("FK_Building_Unit not like", value, "fkBuildingUnit");
            return (Criteria) this;
        }

        public Criteria andFkBuildingUnitIn(List<String> values) {
            addCriterion("FK_Building_Unit in", values, "fkBuildingUnit");
            return (Criteria) this;
        }

        public Criteria andFkBuildingUnitNotIn(List<String> values) {
            addCriterion("FK_Building_Unit not in", values, "fkBuildingUnit");
            return (Criteria) this;
        }

        public Criteria andFkBuildingUnitBetween(String value1, String value2) {
            addCriterion("FK_Building_Unit between", value1, value2, "fkBuildingUnit");
            return (Criteria) this;
        }

        public Criteria andFkBuildingUnitNotBetween(String value1, String value2) {
            addCriterion("FK_Building_Unit not between", value1, value2, "fkBuildingUnit");
            return (Criteria) this;
        }

        public Criteria andRoomNumIsNull() {
            addCriterion("Room_Num is null");
            return (Criteria) this;
        }

        public Criteria andRoomNumIsNotNull() {
            addCriterion("Room_Num is not null");
            return (Criteria) this;
        }

        public Criteria andRoomNumEqualTo(String value) {
            addCriterion("Room_Num =", value, "roomNum");
            return (Criteria) this;
        }

        public Criteria andRoomNumNotEqualTo(String value) {
            addCriterion("Room_Num <>", value, "roomNum");
            return (Criteria) this;
        }

        public Criteria andRoomNumGreaterThan(String value) {
            addCriterion("Room_Num >", value, "roomNum");
            return (Criteria) this;
        }

        public Criteria andRoomNumGreaterThanOrEqualTo(String value) {
            addCriterion("Room_Num >=", value, "roomNum");
            return (Criteria) this;
        }

        public Criteria andRoomNumLessThan(String value) {
            addCriterion("Room_Num <", value, "roomNum");
            return (Criteria) this;
        }

        public Criteria andRoomNumLessThanOrEqualTo(String value) {
            addCriterion("Room_Num <=", value, "roomNum");
            return (Criteria) this;
        }

        public Criteria andRoomNumLike(String value) {
            addCriterion("Room_Num like", value, "roomNum");
            return (Criteria) this;
        }

        public Criteria andRoomNumNotLike(String value) {
            addCriterion("Room_Num not like", value, "roomNum");
            return (Criteria) this;
        }

        public Criteria andRoomNumIn(List<String> values) {
            addCriterion("Room_Num in", values, "roomNum");
            return (Criteria) this;
        }

        public Criteria andRoomNumNotIn(List<String> values) {
            addCriterion("Room_Num not in", values, "roomNum");
            return (Criteria) this;
        }

        public Criteria andRoomNumBetween(String value1, String value2) {
            addCriterion("Room_Num between", value1, value2, "roomNum");
            return (Criteria) this;
        }

        public Criteria andRoomNumNotBetween(String value1, String value2) {
            addCriterion("Room_Num not between", value1, value2, "roomNum");
            return (Criteria) this;
        }

        public Criteria andRoomStatusIsNull() {
            addCriterion("Room_Status is null");
            return (Criteria) this;
        }

        public Criteria andRoomStatusIsNotNull() {
            addCriterion("Room_Status is not null");
            return (Criteria) this;
        }

        public Criteria andRoomStatusEqualTo(String value) {
            addCriterion("Room_Status =", value, "roomStatus");
            return (Criteria) this;
        }

        public Criteria andRoomStatusNotEqualTo(String value) {
            addCriterion("Room_Status <>", value, "roomStatus");
            return (Criteria) this;
        }

        public Criteria andRoomStatusGreaterThan(String value) {
            addCriterion("Room_Status >", value, "roomStatus");
            return (Criteria) this;
        }

        public Criteria andRoomStatusGreaterThanOrEqualTo(String value) {
            addCriterion("Room_Status >=", value, "roomStatus");
            return (Criteria) this;
        }

        public Criteria andRoomStatusLessThan(String value) {
            addCriterion("Room_Status <", value, "roomStatus");
            return (Criteria) this;
        }

        public Criteria andRoomStatusLessThanOrEqualTo(String value) {
            addCriterion("Room_Status <=", value, "roomStatus");
            return (Criteria) this;
        }

        public Criteria andRoomStatusLike(String value) {
            addCriterion("Room_Status like", value, "roomStatus");
            return (Criteria) this;
        }

        public Criteria andRoomStatusNotLike(String value) {
            addCriterion("Room_Status not like", value, "roomStatus");
            return (Criteria) this;
        }

        public Criteria andRoomStatusIn(List<String> values) {
            addCriterion("Room_Status in", values, "roomStatus");
            return (Criteria) this;
        }

        public Criteria andRoomStatusNotIn(List<String> values) {
            addCriterion("Room_Status not in", values, "roomStatus");
            return (Criteria) this;
        }

        public Criteria andRoomStatusBetween(String value1, String value2) {
            addCriterion("Room_Status between", value1, value2, "roomStatus");
            return (Criteria) this;
        }

        public Criteria andRoomStatusNotBetween(String value1, String value2) {
            addCriterion("Room_Status not between", value1, value2, "roomStatus");
            return (Criteria) this;
        }

        public Criteria andBuildingAreaIsNull() {
            addCriterion("Building_Area is null");
            return (Criteria) this;
        }

        public Criteria andBuildingAreaIsNotNull() {
            addCriterion("Building_Area is not null");
            return (Criteria) this;
        }

        public Criteria andBuildingAreaEqualTo(Double value) {
            addCriterion("Building_Area =", value, "buildingArea");
            return (Criteria) this;
        }

        public Criteria andBuildingAreaNotEqualTo(Double value) {
            addCriterion("Building_Area <>", value, "buildingArea");
            return (Criteria) this;
        }

        public Criteria andBuildingAreaGreaterThan(Double value) {
            addCriterion("Building_Area >", value, "buildingArea");
            return (Criteria) this;
        }

        public Criteria andBuildingAreaGreaterThanOrEqualTo(Double value) {
            addCriterion("Building_Area >=", value, "buildingArea");
            return (Criteria) this;
        }

        public Criteria andBuildingAreaLessThan(Double value) {
            addCriterion("Building_Area <", value, "buildingArea");
            return (Criteria) this;
        }

        public Criteria andBuildingAreaLessThanOrEqualTo(Double value) {
            addCriterion("Building_Area <=", value, "buildingArea");
            return (Criteria) this;
        }

        public Criteria andBuildingAreaIn(List<Double> values) {
            addCriterion("Building_Area in", values, "buildingArea");
            return (Criteria) this;
        }

        public Criteria andBuildingAreaNotIn(List<Double> values) {
            addCriterion("Building_Area not in", values, "buildingArea");
            return (Criteria) this;
        }

        public Criteria andBuildingAreaBetween(Double value1, Double value2) {
            addCriterion("Building_Area between", value1, value2, "buildingArea");
            return (Criteria) this;
        }

        public Criteria andBuildingAreaNotBetween(Double value1, Double value2) {
            addCriterion("Building_Area not between", value1, value2, "buildingArea");
            return (Criteria) this;
        }

        public Criteria andSetInAreaIsNull() {
            addCriterion("Set_In_Area is null");
            return (Criteria) this;
        }

        public Criteria andSetInAreaIsNotNull() {
            addCriterion("Set_In_Area is not null");
            return (Criteria) this;
        }

        public Criteria andSetInAreaEqualTo(Double value) {
            addCriterion("Set_In_Area =", value, "setInArea");
            return (Criteria) this;
        }

        public Criteria andSetInAreaNotEqualTo(Double value) {
            addCriterion("Set_In_Area <>", value, "setInArea");
            return (Criteria) this;
        }

        public Criteria andSetInAreaGreaterThan(Double value) {
            addCriterion("Set_In_Area >", value, "setInArea");
            return (Criteria) this;
        }

        public Criteria andSetInAreaGreaterThanOrEqualTo(Double value) {
            addCriterion("Set_In_Area >=", value, "setInArea");
            return (Criteria) this;
        }

        public Criteria andSetInAreaLessThan(Double value) {
            addCriterion("Set_In_Area <", value, "setInArea");
            return (Criteria) this;
        }

        public Criteria andSetInAreaLessThanOrEqualTo(Double value) {
            addCriterion("Set_In_Area <=", value, "setInArea");
            return (Criteria) this;
        }

        public Criteria andSetInAreaIn(List<Double> values) {
            addCriterion("Set_In_Area in", values, "setInArea");
            return (Criteria) this;
        }

        public Criteria andSetInAreaNotIn(List<Double> values) {
            addCriterion("Set_In_Area not in", values, "setInArea");
            return (Criteria) this;
        }

        public Criteria andSetInAreaBetween(Double value1, Double value2) {
            addCriterion("Set_In_Area between", value1, value2, "setInArea");
            return (Criteria) this;
        }

        public Criteria andSetInAreaNotBetween(Double value1, Double value2) {
            addCriterion("Set_In_Area not between", value1, value2, "setInArea");
            return (Criteria) this;
        }

        public Criteria andHouseTypeIsNull() {
            addCriterion("House_type is null");
            return (Criteria) this;
        }

        public Criteria andHouseTypeIsNotNull() {
            addCriterion("House_type is not null");
            return (Criteria) this;
        }

        public Criteria andHouseTypeEqualTo(String value) {
            addCriterion("House_type =", value, "houseType");
            return (Criteria) this;
        }

        public Criteria andHouseTypeNotEqualTo(String value) {
            addCriterion("House_type <>", value, "houseType");
            return (Criteria) this;
        }

        public Criteria andHouseTypeGreaterThan(String value) {
            addCriterion("House_type >", value, "houseType");
            return (Criteria) this;
        }

        public Criteria andHouseTypeGreaterThanOrEqualTo(String value) {
            addCriterion("House_type >=", value, "houseType");
            return (Criteria) this;
        }

        public Criteria andHouseTypeLessThan(String value) {
            addCriterion("House_type <", value, "houseType");
            return (Criteria) this;
        }

        public Criteria andHouseTypeLessThanOrEqualTo(String value) {
            addCriterion("House_type <=", value, "houseType");
            return (Criteria) this;
        }

        public Criteria andHouseTypeLike(String value) {
            addCriterion("House_type like", value, "houseType");
            return (Criteria) this;
        }

        public Criteria andHouseTypeNotLike(String value) {
            addCriterion("House_type not like", value, "houseType");
            return (Criteria) this;
        }

        public Criteria andHouseTypeIn(List<String> values) {
            addCriterion("House_type in", values, "houseType");
            return (Criteria) this;
        }

        public Criteria andHouseTypeNotIn(List<String> values) {
            addCriterion("House_type not in", values, "houseType");
            return (Criteria) this;
        }

        public Criteria andHouseTypeBetween(String value1, String value2) {
            addCriterion("House_type between", value1, value2, "houseType");
            return (Criteria) this;
        }

        public Criteria andHouseTypeNotBetween(String value1, String value2) {
            addCriterion("House_type not between", value1, value2, "houseType");
            return (Criteria) this;
        }

        public Criteria andDirectionIsNull() {
            addCriterion("Direction is null");
            return (Criteria) this;
        }

        public Criteria andDirectionIsNotNull() {
            addCriterion("Direction is not null");
            return (Criteria) this;
        }

        public Criteria andDirectionEqualTo(String value) {
            addCriterion("Direction =", value, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionNotEqualTo(String value) {
            addCriterion("Direction <>", value, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionGreaterThan(String value) {
            addCriterion("Direction >", value, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionGreaterThanOrEqualTo(String value) {
            addCriterion("Direction >=", value, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionLessThan(String value) {
            addCriterion("Direction <", value, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionLessThanOrEqualTo(String value) {
            addCriterion("Direction <=", value, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionLike(String value) {
            addCriterion("Direction like", value, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionNotLike(String value) {
            addCriterion("Direction not like", value, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionIn(List<String> values) {
            addCriterion("Direction in", values, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionNotIn(List<String> values) {
            addCriterion("Direction not in", values, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionBetween(String value1, String value2) {
            addCriterion("Direction between", value1, value2, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionNotBetween(String value1, String value2) {
            addCriterion("Direction not between", value1, value2, "direction");
            return (Criteria) this;
        }

        public Criteria andRoomUseIsNull() {
            addCriterion("Room_Use is null");
            return (Criteria) this;
        }

        public Criteria andRoomUseIsNotNull() {
            addCriterion("Room_Use is not null");
            return (Criteria) this;
        }

        public Criteria andRoomUseEqualTo(String value) {
            addCriterion("Room_Use =", value, "roomUse");
            return (Criteria) this;
        }

        public Criteria andRoomUseNotEqualTo(String value) {
            addCriterion("Room_Use <>", value, "roomUse");
            return (Criteria) this;
        }

        public Criteria andRoomUseGreaterThan(String value) {
            addCriterion("Room_Use >", value, "roomUse");
            return (Criteria) this;
        }

        public Criteria andRoomUseGreaterThanOrEqualTo(String value) {
            addCriterion("Room_Use >=", value, "roomUse");
            return (Criteria) this;
        }

        public Criteria andRoomUseLessThan(String value) {
            addCriterion("Room_Use <", value, "roomUse");
            return (Criteria) this;
        }

        public Criteria andRoomUseLessThanOrEqualTo(String value) {
            addCriterion("Room_Use <=", value, "roomUse");
            return (Criteria) this;
        }

        public Criteria andRoomUseLike(String value) {
            addCriterion("Room_Use like", value, "roomUse");
            return (Criteria) this;
        }

        public Criteria andRoomUseNotLike(String value) {
            addCriterion("Room_Use not like", value, "roomUse");
            return (Criteria) this;
        }

        public Criteria andRoomUseIn(List<String> values) {
            addCriterion("Room_Use in", values, "roomUse");
            return (Criteria) this;
        }

        public Criteria andRoomUseNotIn(List<String> values) {
            addCriterion("Room_Use not in", values, "roomUse");
            return (Criteria) this;
        }

        public Criteria andRoomUseBetween(String value1, String value2) {
            addCriterion("Room_Use between", value1, value2, "roomUse");
            return (Criteria) this;
        }

        public Criteria andRoomUseNotBetween(String value1, String value2) {
            addCriterion("Room_Use not between", value1, value2, "roomUse");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("Create_date is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("Create_date is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("Create_date =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("Create_date <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("Create_date >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("Create_date >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("Create_date <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("Create_date <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("Create_date in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("Create_date not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("Create_date between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("Create_date not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andLastmodifyDateIsNull() {
            addCriterion("lastModify_date is null");
            return (Criteria) this;
        }

        public Criteria andLastmodifyDateIsNotNull() {
            addCriterion("lastModify_date is not null");
            return (Criteria) this;
        }

        public Criteria andLastmodifyDateEqualTo(Date value) {
            addCriterion("lastModify_date =", value, "lastmodifyDate");
            return (Criteria) this;
        }

        public Criteria andLastmodifyDateNotEqualTo(Date value) {
            addCriterion("lastModify_date <>", value, "lastmodifyDate");
            return (Criteria) this;
        }

        public Criteria andLastmodifyDateGreaterThan(Date value) {
            addCriterion("lastModify_date >", value, "lastmodifyDate");
            return (Criteria) this;
        }

        public Criteria andLastmodifyDateGreaterThanOrEqualTo(Date value) {
            addCriterion("lastModify_date >=", value, "lastmodifyDate");
            return (Criteria) this;
        }

        public Criteria andLastmodifyDateLessThan(Date value) {
            addCriterion("lastModify_date <", value, "lastmodifyDate");
            return (Criteria) this;
        }

        public Criteria andLastmodifyDateLessThanOrEqualTo(Date value) {
            addCriterion("lastModify_date <=", value, "lastmodifyDate");
            return (Criteria) this;
        }

        public Criteria andLastmodifyDateIn(List<Date> values) {
            addCriterion("lastModify_date in", values, "lastmodifyDate");
            return (Criteria) this;
        }

        public Criteria andLastmodifyDateNotIn(List<Date> values) {
            addCriterion("lastModify_date not in", values, "lastmodifyDate");
            return (Criteria) this;
        }

        public Criteria andLastmodifyDateBetween(Date value1, Date value2) {
            addCriterion("lastModify_date between", value1, value2, "lastmodifyDate");
            return (Criteria) this;
        }

        public Criteria andLastmodifyDateNotBetween(Date value1, Date value2) {
            addCriterion("lastModify_date not between", value1, value2, "lastmodifyDate");
            return (Criteria) this;
        }

        public Criteria andAddUserIsNull() {
            addCriterion("Add_user is null");
            return (Criteria) this;
        }

        public Criteria andAddUserIsNotNull() {
            addCriterion("Add_user is not null");
            return (Criteria) this;
        }

        public Criteria andAddUserEqualTo(String value) {
            addCriterion("Add_user =", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserNotEqualTo(String value) {
            addCriterion("Add_user <>", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserGreaterThan(String value) {
            addCriterion("Add_user >", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserGreaterThanOrEqualTo(String value) {
            addCriterion("Add_user >=", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserLessThan(String value) {
            addCriterion("Add_user <", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserLessThanOrEqualTo(String value) {
            addCriterion("Add_user <=", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserLike(String value) {
            addCriterion("Add_user like", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserNotLike(String value) {
            addCriterion("Add_user not like", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserIn(List<String> values) {
            addCriterion("Add_user in", values, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserNotIn(List<String> values) {
            addCriterion("Add_user not in", values, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserBetween(String value1, String value2) {
            addCriterion("Add_user between", value1, value2, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserNotBetween(String value1, String value2) {
            addCriterion("Add_user not between", value1, value2, "addUser");
            return (Criteria) this;
        }

        public Criteria andFlagIsNull() {
            addCriterion("flag is null");
            return (Criteria) this;
        }

        public Criteria andFlagIsNotNull() {
            addCriterion("flag is not null");
            return (Criteria) this;
        }

        public Criteria andFlagEqualTo(Integer value) {
            addCriterion("flag =", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotEqualTo(Integer value) {
            addCriterion("flag <>", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagGreaterThan(Integer value) {
            addCriterion("flag >", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("flag >=", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLessThan(Integer value) {
            addCriterion("flag <", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLessThanOrEqualTo(Integer value) {
            addCriterion("flag <=", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagIn(List<Integer> values) {
            addCriterion("flag in", values, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotIn(List<Integer> values) {
            addCriterion("flag not in", values, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagBetween(Integer value1, Integer value2) {
            addCriterion("flag between", value1, value2, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("flag not between", value1, value2, "flag");
            return (Criteria) this;
        }

        public Criteria andMergeIsNull() {
            addCriterion("merge is null");
            return (Criteria) this;
        }

        public Criteria andMergeIsNotNull() {
            addCriterion("merge is not null");
            return (Criteria) this;
        }

        public Criteria andMergeEqualTo(Integer value) {
            addCriterion("merge =", value, "merge");
            return (Criteria) this;
        }

        public Criteria andMergeNotEqualTo(Integer value) {
            addCriterion("merge <>", value, "merge");
            return (Criteria) this;
        }

        public Criteria andMergeGreaterThan(Integer value) {
            addCriterion("merge >", value, "merge");
            return (Criteria) this;
        }

        public Criteria andMergeGreaterThanOrEqualTo(Integer value) {
            addCriterion("merge >=", value, "merge");
            return (Criteria) this;
        }

        public Criteria andMergeLessThan(Integer value) {
            addCriterion("merge <", value, "merge");
            return (Criteria) this;
        }

        public Criteria andMergeLessThanOrEqualTo(Integer value) {
            addCriterion("merge <=", value, "merge");
            return (Criteria) this;
        }

        public Criteria andMergeIn(List<Integer> values) {
            addCriterion("merge in", values, "merge");
            return (Criteria) this;
        }

        public Criteria andMergeNotIn(List<Integer> values) {
            addCriterion("merge not in", values, "merge");
            return (Criteria) this;
        }

        public Criteria andMergeBetween(Integer value1, Integer value2) {
            addCriterion("merge between", value1, value2, "merge");
            return (Criteria) this;
        }

        public Criteria andMergeNotBetween(Integer value1, Integer value2) {
            addCriterion("merge not between", value1, value2, "merge");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}